package com.sinog.core.util;

import com.sinog.core.utilbean.Constants;

/**
 * @desc 系统中业务逻辑工具类
 * @author lzq
 * @date 2022-10-17 13:42 下午
 */
public final class BusinessUtil {

    /**
     * 判断机构是否属于直辖市
     * @param orgId 机构ID
     * @return boolean
     */
    public static boolean isZxs(String orgId) {
        return StrUtil.containsEquals(orgId,Constants.ZxsSxqCode.BEIJING_SXQ,
                Constants.ZxsSxqCode.TIANJIN_SXQ,
                Constants.ZxsSxqCode.SHANGHAI_SXQ,
                Constants.ZxsSxqCode.CHONGQING_SXQ);
    }
}